Some more tinkering with Bug#16051.
authormartin rudalics <rudalics@gmx.at>
Thu, 26 Dec 2013 11:31:42 +0000 (12:31 +0100)
committermartin rudalics <rudalics@gmx.at>
Thu, 26 Dec 2013 11:31:42 +0000 (12:31 +0100)
commit5bc8d66e49c4bbce90a0ebedf1cf94a08dd0f755
tree37e656b73265b96e24f36a005af85199ab53a82a
parent5aa6661e2487f51904905e9cacff2af9e3a0e6a1
Some more tinkering with Bug#16051.

* window.c (resize_frame_windows): Don't let the size of the
root window drop below the frame's default character size.
Never ever delete any subwindows - let the window manager do the
clipping.

* w32fns.c (x_set_tool_bar_lines): Rewrite calculation of number
of toolbar lines needed when they exceed the height of the root
window.
(unwind_create_frame_1): New function.
(Fx_create_frame): Generally inhibit calling the window
configuration change hook here.  Remove extra call to
change_frame_size - it's not needed when we don't run the
configuration change hook.
src/ChangeLog
src/w32fns.c
src/window.c